翻訳と辞書
Words near each other
・ Prolixandromyces
・ Prolixocupes
・ Proll
・ Prolly Moor
・ Prolobitidae
・ Prolobitinae
・ Prolobosia
・ Prolobus
・ Prolochus
・ Prolochus junlitjri
・ Prolochus longiceps
・ Prolocutor
・ Prolog
・ Prolog (Livno)
・ Prolog (Ljubuški)
Prolog syntax and semantics
・ Prolog++
・ Prologis
・ Prologue
・ Prologue (disambiguation)
・ Prologue (Elton John album)
・ Prologue (magazine)
・ Prologue (Prose Edda)
・ Prologue (Renaissance album)
・ Prologue and Tale of Beryn
・ Prologue from Ohrid
・ Prolom
・ Prolongation
・ Prolonged exposure therapy
・ Prolonged grief disorder


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Prolog syntax and semantics : ウィキペディア英語版
Prolog syntax and semantics
(詳細はProlog programming language is the set of rules that defines how a Prolog program is written and how it is interpreted. The rules are laid out in ISO standard ISO/IEC 13211〔''ISO/IEC 13211: Information technology — Programming languages — Prolog''. International Organization for Standardization, Geneva.〕 although there are differences in the Prolog implementations.
== Data types ==

Prolog is dynamically typed. It has a single data type, the ''term'', which has several subtypes: ''atoms'', ''numbers'', ''variables'' and ''compound terms''.
An atom is a general-purpose name with no inherent meaning. It is composed of a sequence of characters that is parsed by the Prolog reader as a single unit. Atoms are usually bare words in Prolog code, written with no special syntax. However, atoms containing spaces or certain other special characters must be surrounded by single quotes. Atoms beginning with a capital letter must also be quoted, to distinguish them from variables. The empty list, written is a list. A compound term with functor . (dot) and arity 2, whose second argument is a list, is itself a list. There exists special syntax for denoting lists: .(A, B) is equivalent to (). For example, the list .(1, .(2, .(3, ], or even more compactly as ().
* ''Strings'': A sequence of characters surrounded by quotes is equivalent to a list of (numeric) character codes, generally in the local character encoding or Unicode if the system supports Unicode.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Prolog syntax and semantics」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.